package cn.sirun.com.fca.account.view;

import com.tencent.cloud.iov.action.Action;
import com.tencent.cloud.iov.kernel.model.BaseResponse;

import cn.sirun.com.fca.account.constant.AccountActionConst;
import cn.sirun.com.fca.account.model.login.LoginResponse;

public interface IPasswordView extends AccountActionConst.Normal {

    @Action(ACTION_SET_PASSWORD_RESULT)
    void onSetPasswordResult(BaseResponse<LoginResponse> result);

    @Action(ACTION_SET_EMIAL_PASSWORD_RESULT)
    void onSetEmailPasswordResult(BaseResponse<LoginResponse> result);

    @Action(ACTION_RESET_PASSWORD_RESULT)
    void onResetPasswordResult(BaseResponse<Void> result);
}
